var t = getApp();

Page({
    data: {
        list: []
    },
    onLoad: function(t) {
        wx.setNavigationBarTitle({
            title: "财务统计"
        }), this.getData();
    },
    toLink: function(t) {
        var e = t.currentTarget.dataset.key;
        "contribution" == e ? wx.navigateTo({
            url: "/packageA/member/withdrawal/withdrawal"
        }) : "int" == e ? wx.navigateTo({
            url: "/packageB/member/Integral_love/Integral_love"
        }) : wx.navigateTo({
            url: "/packageB/member/love/Love_index/Love_index"
        });
    },
    getData: function() {
        var e = this, n = t.getNetAddresss("plugin.zhp-group-lottery.frontend.statistical.get-financial-list");
        t._postNetWork({
            url: n,
            success: function(t) {
                var n = t.data;
                1 == n.result ? e.setData({
                    list: n.data
                }) : wx.showToast({
                    title: n.msg,
                    duration: 1e3,
                    icon: "none"
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});